<form class="layui-form layui-form-pane" lay-filter="FormBaseDatabaseSnapshotEdit" action="/base/database/snapshot/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','数据库(*)','dbSpace','layui-col-md6',32,'required',${entity.dbSpace})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','快照日期(*)','snapshotDay','layui-col-md6',32,'required',${entity.snapshotDay})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','来源表(*)','sourceTable','layui-col-md6',32,'required',${entity.sourceTable})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','保存路径(*)','savePath','layui-col-md6',32,'required',${entity.savePath})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','备注信息(*)','remark','layui-col-md6',65535,'required',${entity.remark})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>